Underscores in SSID are interpreted as accelerators instead of being shown literally

Bug #685588 reported by Pratik
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Network Manager Applet
Invalid
Medium
Unassigned
indicator-application (Ubuntu)
Won't Fix
Undecided
Unassigned
network-manager-applet (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: network-manager

In the list for wireless networks. SSID with a underscore have the next letter underlined instead of having the underscore. For example the SSID NWMSU_Secure looks like NSMSUSecure with the S in secure underlined.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: network-manager 0.8.3~git.20101118t223039.d60a988-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.37-7.19-generic 2.6.37-rc3
Uname: Linux 2.6.37-7-generic i686
Architecture: i386
CRDA: Error: [Errno 2] No such file or directory
Date: Sun Dec 5 12:31:04 2010
Gconf:

IfupdownConfig:
 auto lo
 iface lo inet loopback
IpRoute:
 10.143.0.0/16 dev eth0 proto kernel scope link src 10.143.96.59 metric 1
 169.254.0.0/16 dev eth0 scope link metric 1000
 default via 10.143.1.254 dev eth0 proto static
Keyfiles: Error: [Errno 2] No such file or directory
LiveMediaBuild: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20101202)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: network-manager

Revision history for this message
Pratik (pkpatel88) wrote :
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Confirming; I just noticed this while in the train and trying to comprehend why using the name from the menu didn't work in iwconfig. Note however, NM still does the right thing since the name is just something to display (and only in the menu, not in other places it might show).

It seems this is an issue with libappindicator rather than nm-applet though as the indicator patch doesn't change actual functionality, I just reuse the existing code and use app_indicator functions rather than gtk_status_icon where appropriate.

affects: network-manager (Ubuntu) → indicator-application (Ubuntu)
Changed in indicator-application (Ubuntu):
status: New → Confirmed
Changed in indicator-application:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

FWIW, I worked around this issue in nm-applet by escaping the underscores with another one. It might be a good idea to have a way to turn on or off the use of accelerators in menus.

Revision history for this message
Aurélien Gâteau (agateau) wrote :

@Mathieu: actually what you did is what I think should be done: when one wants to show literal '_' in a GTK menu, they must be escaped. I reassigned the bug to network-manager-gnome. I guess you can mark it closed on your side.

summary: - Underscore in SSID are under letters not spaces
+ Underscores in SSID are interpreted as accelerators instead of being
+ shown literally
affects: indicator-application → network-manager-applet
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Works for me ;)

Changed in network-manager-applet:
status: Triaged → Invalid
Changed in network-manager-applet (Ubuntu):
status: New → Fix Released
Changed in indicator-application (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.